<%--
  Created by IntelliJ IDEA.
  User: 刘洋
  Date: 2019/12/3
  Time: 16:43
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://fentsoul.com" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>用户注册</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <c:import url="/layout/_imports.jsp"></c:import>
	<style>
		.register-top-grid input[type="text"], input[type="password"]{
			border: 1px solid #555;
			outline-color:#FD9F3E;
			width: 96%;
			font-count: 1em;
			padding: 0.5em;
		}
	</style>
</head>
<body>
<c:import url="/layout/_nav.jsp"></c:import>
<!--account-->
<div class="account">
    <div class="container">
        <div class="register">
			<c:if test="${!empty error}">
				<div class="alert alert-danger">${error}</div>
			</c:if>
			<f:form method="register">
				<div class="register-top-grid">
					<h3>注册新用户</h3>
					<div class="input">
                        <span>
							<f:label jsp_for="username"></f:label>
							<span style="color:red;display: inline-block">*</span>
						</span>
							<%--<input type="text" name="user.username" placeholder="请输入用户名" required="required">--%>
						<f:input jsp_for="username"></f:input>
					</div>
					<div class="input">
                        <span>
							<f:label jsp_for="password"></f:label>
							<span style="color:red;display: inline-block">*</span>
						</span>
							<%--<input type="text" name="user.password" placeholder="请输入密码" required="required">--%>
						<f:input jsp_for="password"></f:input>
					</div>
					<div class="input">
						<span><f:label jsp_for="name"></f:label></span>
							<%--<input type="text" name="user.name" placeholder="请输入真是姓名">--%>
						<f:input jsp_for="name"></f:input>
					</div>
					<div class="input">
						<span><f:label jsp_for="phone"></f:label></span>
							<%--<input type="text" name="user.phone" placeholder="请输入收货电话">--%>
						<f:input jsp_for="phone"></f:input>
					</div>
					<div class="input">
						<span><f:label jsp_for="address"></f:label></span>
							<%--<input type="text" name="user.address" placeholder="请输入收货地址">--%>
						<f:input jsp_for="address"></f:input>
					</div>
					<div class="clearfix"> </div>
				</div>
				<div class="register-but text-center">
					<input type="submit" value="提交">
					<div class="clearfix"> </div>
				</div>
			</f:form>
			<%--<form action="register.action" method="post">--%>
				<%--<div class="register-top-grid">--%>
					<%--<h3>注册新用户</h3>--%>
					<%--<div class="input">--%>
                        <%--<span>--%>
							<%--<f:label jsp_for="username"></f:label>--%>
							<%--<span style="color:red;display: inline-block">*</span>--%>
						<%--</span>--%>
						<%--&lt;%&ndash;<input type="text" name="user.username" placeholder="请输入用户名" required="required">&ndash;%&gt;--%>
						<%--<f:input jsp_for="username"></f:input>--%>
					<%--</div>--%>
					<%--<div class="input">--%>
                        <%--<span>--%>
							<%--<f:label jsp_for="password"></f:label>--%>
							<%--<span style="color:red;display: inline-block">*</span>--%>
						<%--</span>--%>
						<%--&lt;%&ndash;<input type="text" name="user.password" placeholder="请输入密码" required="required">&ndash;%&gt;--%>
						<%--<f:input jsp_for="password"></f:input>--%>
					<%--</div>--%>
					<%--<div class="input">--%>
						<%--<span><f:label jsp_for="name"></f:label></span>--%>
						<%--&lt;%&ndash;<input type="text" name="user.name" placeholder="请输入真是姓名">&ndash;%&gt;--%>
						<%--<f:input jsp_for="name"></f:input>--%>
					<%--</div>--%>
					<%--<div class="input">--%>
						<%--<span><f:label jsp_for="phone"></f:label></span>--%>
						<%--&lt;%&ndash;<input type="text" name="user.phone" placeholder="请输入收货电话">&ndash;%&gt;--%>
						<%--<f:input jsp_for="phone"></f:input>--%>
					<%--</div>--%>
					<%--<div class="input">--%>
						<%--<span><f:label jsp_for="address"></f:label></span>--%>
						<%--&lt;%&ndash;<input type="text" name="user.address" placeholder="请输入收货地址">&ndash;%&gt;--%>
						<%--<f:input jsp_for="address"></f:input>--%>
					<%--</div>--%>
					<%--<div class="clearfix"> </div>--%>
				<%--</div>--%>
				<%--<div class="register-but text-center">--%>
					<%--<input type="submit" value="提交">--%>
					<%--<div class="clearfix"> </div>--%>
				<%--</div>--%>
            <%--</form>--%>
            <div class="clearfix"> </div>
        </div>
    </div>
</div>
<!--//account-->


<c:import url="/layout/_footer.jsp"></c:import>


</body>
</html>
